package com.gxx.gxxcrm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gxx.gxxcrm.entity.AssistPojo;
import com.gxx.gxxcrm.entity.Role;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleMapper extends BaseMapper<Role> {

    List<AssistPojo> roleById(Integer roleId);
    IPage<Role> selectList(Page<Role> page);

}
